<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>支付测试</title>
    <script src="qrious.js"></script>
</head>
<body>
<img id="qrious">
<script type="text/javascript">

    //创建一个qrious对象
    var qr = new QRious({
        //要渲染为二维码图片的元素
        element: document.getElementById("qrious"),
        //容错级别
        level: "Q",
        //二维码图片的大小
        size: 250,
        //二维码对应的值
        value: "weixin://wxpay/bizpayurl?pr=8YstWtU"
    });
</script>
</body>
</html>